package com.iscas.lndicatormonitor.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.iscas.lndicatormonitor.mapper.AuditMapper;
import com.iscas.lndicatormonitor.domain.Audit;
import com.iscas.lndicatormonitor.service.AuditService;

import java.util.List;

@Service
public class AuditServiceImpl implements AuditService{

    @Resource
    private AuditMapper auditMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return auditMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Audit record) {
        return auditMapper.insert(record);
    }

    @Override
    public int insertSelective(Audit record) {
        return auditMapper.insertSelective(record);
    }

    @Override
    public List<Audit> selectAllAudit() {
        return auditMapper.selectAllAudit();
    }

    @Override
    public Audit selectByPrimaryKey(Integer id) {
        return auditMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Audit record) {
        return auditMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Audit record) {
        return auditMapper.updateByPrimaryKey(record);
    }

}
